//
//  UserInfoSave.h
//  ZQLearn
//
//  Created by macfeel on 2019/5/5.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UserInfoSave : NSObject

@property (nonatomic,copy)NSString *ID;///这个暂不用做登录用户id

@property (nonatomic,copy)NSString *nickName;
@property (nonatomic,copy)NSString *phone;
@property (nonatomic,copy)NSString *photo;
@property (nonatomic,copy)NSString *gender;//性别
@property (nonatomic,copy)NSString *birthday;
@property (nonatomic,copy)NSString *city;
@property (nonatomic,copy)NSString *area;
@property (nonatomic,copy)NSString *address;
@property (nonatomic,copy)NSString *province;
@property (nonatomic,copy)NSString *school;
@property (nonatomic,copy)NSString *grade;
@property (nonatomic,copy)NSString *hobby;


@property (nonatomic,copy)NSString *vipLevel;

///邀请码
@property (nonatomic,copy)NSString *refereeNumber;

@property (nonatomic,copy)NSString *integral;


///当前登录用户id
@property (nonatomic,copy)NSString *uid;


//微信登录成功最后返回了昵称，头像还有这个 openid
@property (nonatomic,copy)NSString *openid;
///微信头像链接
@property (nonatomic,copy)NSString *headimgurl;



///当前登录用户id
@property (nonatomic,copy)NSString *orderId;




@property (nonatomic,assign)BOOL isGeren;

+(instancetype)shareInstance;

/**
 根据数据保存用户信息
 */
+ (void)saveUserInfoWithDic:(NSDictionary *)dic;

/**
 清空数据
 */
+ (void)cleanUserInfo;

@end

NS_ASSUME_NONNULL_END
